package com.yixun.qfbao.apidto;

import com.yixun.qfbao.annotation.TYWValid;
import com.yixun.qfbao.apidto.base.CommonReqDTO;

import java.io.Serializable;

/**
 * 类型值新增请求参数
 * @author guifang.weng
 * @create 2017-11-23 15:07
 **/
public class AddBaseCodeValueReqDto extends CommonReqDTO implements Serializable {
    private static final long serialVersionUID = 7054577595098754589L;

    /**
     * 类型Id
     */
    @TYWValid(min = 1,max = 20)
    private String typeId;
    /**
     * 类型名称
     */
    @TYWValid(min = 1,max = 20)
    private String codeName;
    /**
     * 备注
     */
    @TYWValid(max = 200)
    private String remark;
    /**
     * 登录人公司ID(后端使用)
     */
    private Long merchantId;


    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public String getCodeName() {
        return codeName;
    }

    public void setCodeName(String codeName) {
        this.codeName = codeName;
    }
}
